<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>{#embed_dlg.title}</title>
	<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
	<script type="text/javascript" src="js/dialog.js"></script>
</head>
<body>

<form onsubmit="EmbedDialog.insert();return false;" action="#">
	<fieldset>
		<legend>{#embed_dlg.tabone}</legend>
		<p>{#embed_dlg.paste} <br />(YouTube, Picasa, Vimeo, etc):</p>
		<p><textarea rows="8" cols="50" id="embedcode" name="embedcode" type="text" class="text"></textarea></p>
        <div style="color:#f00;" id="error">&nbsp;</div>    
	</fieldset>

	<div class="mceActionPanel">
		<div style="float: left">
			<input type="button" id="insert" name="insert" value="{#insert}" onclick="EmbedDialog.insert();" />
		</div>

		<div style="float: right">
			<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
		</div>
	</div>
</form>
<script type="text/javascript">
    onload = function(){
        document.getElementById('embedcode').focus();
    };
</script>

</body>
</html>
